/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.devel.designpatterns.composite;

import com.devel.designpatterns.visitor.Visitor;

/**
 *
 * @author wm.devel
 */
public abstract class Component {

    public abstract void accept(Visitor v);

    public void add(Component component) {
    }

    public void remove(Component component) {
    }

    public Component getChild(int index) {
        return null;
    }
}
